<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>Title</title>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript">
        $(function(){
            $("#abv").click(function(){
                alert("您选择的选项是:"+$("#s1 option:selected").text()+"value值为:"+$("#s1 option:selected").val());
            });
        })
    </script>
</head>
<body>

<h3>SPringMVC文件上传</h3>
<form action="<%=basePath%>/demo/upload_theme.do" method="post" enctype="multipart/form-data">
    <input type="file" name="meFile" /><p>
    <input type="submit" value="提交" /><p>
    <input type="reset" value="清空" /><p>
</form>
<td></td>
<h3>书籍分类:</h3>
    <select id="s1" >
           <option value="1">教学类</option>
           <option value="2"> 技术类</option>
           <option value="3"> 语文类</option>
     </select>


</body>
</html>
